/**
 * 
 */
package utstat.listeners;

import utstat.Team;

public class Player {
	String name;
	int score;
	Team currentTeam = Team.disconnected;

	public Player(String name, Team team, int score) {
		System.out.println("setting team to "+team);
		this.currentTeam = team;
		this.score = score;
		this.name = name;
	}

	public String toString() {
		return name + " (" + currentTeam + "," + score+")";
	}

	public Team getTeam() {
		return currentTeam;
	}

	public int getScore() {
		return score;
	}
	public String getName() {return name;}
}